<!--  -->
<template>
  <div class="card">
    <div class="contrd">
      <div class="leftc">
        <img src="@/static/img/cards.png" alt="" />
      </div>
      <div class="rgtc">
        <div class="tops">
          <h3>名片内容管理介绍 <i class="el-icon-warning-outline"></i></h3>
         <span>  该模块用于装修小程序中的名片页面，您可以在下方选择需要在名片页展示的模块，点击“去设置”配置各模块展示的内容。点击“隐藏”则此模块不显示</span>
        </div>
        <h3 class="tos">展示模块</h3>
        <div class="func">
          <ul class="lsts">
            <li v-for="it in lsts" :key="it.index">
              <div class="as">
                <div class="lef">
                  <h3>{{ it.h }}</h3>
                  {{ it.t }}
                </div>
                <div class="rgt">
                  <ul class="zan">
                    <li>{{ it.g }}</li>
                    <span>{{ it.i }}</span>
                    <li>{{ it.m }}</li>
                  </ul>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </div>
    </div>
    <div class="botm">
      <Btns />
    </div>
  </div>
</template>
<script>
import Btns from '@/components/admin/card/Btns.vue'
export default {
  name: 'Sou',
  components: {
    Btns,
  },
  data() {
    return {
      isChang: false,
      input1: '',
      input2: '',
      input3: '',
      select: '',
      dialogImageUrl: '',
      dialogVisible: false,
      disabled: false,
      radio1: '1',
      radio2: '1',
      lsts: [
        { h: '名片信息', t: '该模块用于展示个人信息', g: '去设置' },
        { h: '区县主页', t: '该模块用于展示个人信息', g: '隐藏' },
        { h: '招商项目', t: '该模块用于展示个人信息', g: '去设置', i: '|', m: '  隐藏' },
        { h: '推荐载体  ', t: '该模块用于展示个人信息', g: '去设置', i: '|', m: '  隐藏' },
        { h: '自定义模块', t: '该模块用于展示个人信息', g: '去设置', i: '|', m: '  隐藏' },
      ],
    }
  },
  created() {},
  methods: {
    handleRemove(file) {
      console.log(file)
    },
    handlePictureCardPreview(file) {
      this.dialogImageUrl = file.url
      this.dialogVisible = true
    },
    handleDownload(file) {
      console.log(file)
    },
    cangs(isChang) {
      this.isChang = true
      console.log(isChang)
      console.log(this.isChang)
    },
  },

  // mounted() {
  //   this.$refs.gan.style.display = 'none'
  // },
  computed: {
    cang(isChang) {
      console.log(isChang)
      console.log(1111)
    },
  },
}
</script>
<style lang='scss' >
.active {
  display: none;
}
*{
  margin: 0;
}
.card {
  width: 100%;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  background: #fff;
  margin-top: 20px;
  .contrd {
    margin-top: 53px;
    width: 100%;
    height: 874px;
    background: #fff;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    .leftc {
      height: 682px;
      display: flex;
      justify-content: center;
      flex: 1;
      img {
        height: 682px;
        border-radius: 45px;
      }
    }
    .rgtc {
      width: 800px;
      height: 741px;
      display: flex;
      flex-wrap: wrap;
      margin-right: 46px;
      flex: none;
    
      h3 {
        font-size: 16px;
        font-family: PingFangSC, PingFangSC-Semibold;
        font-weight: 600;
        text-align: left;
        color: #171725;
        line-height: 22px;
        letter-spacing: 0.11px;
      }
      .tops {
        width: 100%;
        height: 67px;
        .ictxt {
          display: flex;
          width: 100%;
          height: 36px;
          li:nth-child(1) {
            font-size: 13px;
            font-family: PingFangSC, PingFangSC-Regular;
            font-weight: 400;
            width: 100%;
            height: auto;
            line-height: 18px;
            letter-spacing: 0.09px;
          }
        }
      }
      .tos{
        margin-top: 12px;
        width: 100%;
      }
      .func {
        width: 630px;
        height: 381px;
        margin: 30px 58px 166px 0px;
        border: 1px solid #e2e2e2;
        border-radius: 5px;
        .lsts {
          margin: 0;
          li {
            margin: 0 10px;
         
          .as {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #e2e2e2;
            margin: 10px auto 0 0;
            .lef {
              width: 80%;
              height: 51px;
              h3 {
                margin: 0px;
              }
            }

            .rgt {
              width: 20%;
              height: auto;
              margin: auto 0;
              .zan {
                width: 100%;
                height: auto;
                display: flex;
                justify-content: space-between;
                margin: 20.5px 0px;
                li {
                  font-size: 12px;
                  width: 50%;
                  height: 24px;
                  line-height: 20.5px;
                }
                span {
                }
              }
            }
          }
           }
           li:nth-child(5){
             border: 0;
           }
        }
      }
    }
  }
}
.botm {
  width: 100%;
  height: 80px;
}
</style>
